From ad93c86db6f81ab73ffca4b3b340348f75e864ef Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 11 Apr 2001 21:51:53 +0000 Subject: [PATCH] (eshell-ls-insert-directory): Set font-lock-defaults to nil, to prevent fontification in dired buffers, if Eshell's ls is being used. --- lisp/eshell/em-ls.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/eshell/em-ls.el b/lisp/eshell/em-ls.el index 97a342b73ac..efafbc0d502 100644 --- a/lisp/eshell/em-ls.el +++ b/lisp/eshell/em-ls.el @@ -255,6 +255,7 @@ instead." (when (and eshell-ls-use-colors (featurep 'font-lock)) (font-lock-mode -1) + (setq font-lock-defaults nil) (if (boundp 'font-lock-buffers) (set 'font-lock-buffers (delq (current-buffer) -- 2.30.2